@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <!--<#input id="id" name="主键" underline="true"/>-->
                            <#input id="chName" name="渠道名称" underline="true"/>
                            <#input id="contact" name="对接人" underline="true"/>
                            <#input id="remark" name="备注"/>
                </div>

                <div class="col-sm-6">
                            <#input id="returnUrl" name="对接地址" underline="true"/>
                            <#input id="returnParam" name="返回参数" underline="true"/>
                            <input type="hidden" id="isUse" value="1" />
                            <input type="hidden" id="date" value="" name="dates"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ChannelInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ChannelInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/channel/channel_info.js"></script>
<script>
    var now = new Date();
    document.getElementById("date").value = now.getFullYear() + '-' + (now.getMonth() + 1) + '-' + now.getDate();
</script>
@}
